using BackData;
using Domain.DTOs.ProcessSteps;
using MediatR;

namespace Team.API.Applocation.Command.Makesteps
{
    /// <summary>
    /// 查询成品工艺工序（ParentId=0）
    /// </summary>
    public class GetMakestepListCommand : IRequest<APIPaging<MakestepListDTO>>
    {
        /// <summary>当前页码</summary>
        public int Pageindex { get; set; } = 1;

        /// <summary>分页大小</summary>
        public int Pagesize { get; set; } = 10;

        /// <summary>按成品名称过滤</summary>
        public string? Goodsname { get; set; }

        /// <summary>按版本过滤</summary>
        public string? Version { get; set; }

        /// <summary>按启用状态过滤</summary>
        public bool? IsUse { get; set; }
    }
}

